package  
{
	import org.flixel.FlxSprite;
	/**
	 * ...
	 * @author Billy Kaifer
	 */
	public class Explosion extends FlxSprite
	{
		
		public function Explosion(Graphics:Class = null) 
		{
			super(0 , 0);
			x = -200;
			y = -200;
			loadGraphic(Graphics, true, false, 64, 64);
			addAnimation("hit", [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16], 15);
			active = false;
			offset.x = -64;
			offset.y = -64;
		}
		
		public function hitE():void {
			active = true;
			play("hit");
		}
		
	}

}